﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Microsoft.Practices.EnterpriseLibrary.Data;
using System.Diagnostics;
using Facebook.Service;
using FriendsNearby.Services.Facebook;

namespace FriendsNearby.Services.Tests
{
    [TestFixture]
    [Ignore("Manual Test Fixture for Facebook Session Keys")]
    public class FacebookSessionsFixture
    {
        FriendsNearbySystem fnFacade;
        List<string> registeredUserIds;

        [SetUp]
        public void SetUp()
        {
            Database database = DatabaseFactory.CreateDatabase("FriendsNearbyDB");
            FriendsDataDataContext ctx = new FriendsDataDataContext(database.CreateConnection());            
			var query = from registry in ctx.UserRegistries
						select registry.FacebookUserId;
            registeredUserIds = new List<string>(query);
            fnFacade = new FriendsNearbySystem();            
        }
    }
}
